
#include "stdafx.h"
#include "Wrap.h"

array<::System::String^>^ wrapNative2ManagedStringArray(const vector<CString>& narr)
{
	array<::System::String^>^ marr = gcnew array<::System::String^>((int) narr.size());
  int i=0;
  for (vector<CString>::const_iterator iter = narr.begin(); iter!=narr.end(); iter++)
  {
    marr[i] = gcnew ::System::String(*iter);
    i++;
  }
	return marr;
}